def init_em(self):
    self.tableWidget.setFocusPolicy(QtCore.Qt.NoFocus)
    for i in range(0, 16):
        path = "QExpression/%d.gif" % (i + 1)
        row = int(i / self.tableWidget.rowCount())
        column = int(i % self.tableWidget.rowCount())
        tableWidgetItem = QTableWidgetItem()
        self.tableWidget.setItem(row, column, tableWidgetItem)
        emotionIcon = QLabel()
        emotionIcon.setMargin(4)
        movie = QMovie()
        movie.setScaledSize(QSize(24, 24))
        movie.setFileName(path)
        movie.start()
        emotionIcon.setMovie(movie)
        self.tableWidget.setCellWidget(row, column, emotionIcon)